import tensorflow as tf

# 查看 Eager Execution 的状态
print(tf.executing_eagerly())

x = [[2.]]
m = tf.matmul(x, x)
print("x * x is， {}".format(m))
# output  x * x is， [[4.]]
